package top.mcwebsite.playandroid.common.user.api.model

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class UserInfo(
    @SerialName("id")
    val id: Int,
    @SerialName("admin")
    val admin: Boolean = false,
    @SerialName("chapterTops")
    val chapterTops: List<Int>,
    @SerialName("coinCount")
    val coinCount: Int,
    @SerialName("collectIds")
    val collectIds: List<Int>,
    @SerialName("email")
    val email: String,
    @SerialName("icon")
    val icon: String,
    @SerialName("username")
    val username: String,
    @SerialName("nickname")
    val nickname: String,
    @SerialName("publicName")
    val publicName: String,
    @SerialName("token")
    val token: String,
    @SerialName("type")
    val type: Int,
    @SerialName("password")
    val password: String = ""
)